home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d952.lha / MachV / Fixes.doc < prev    next >
Text File  |  1993-12-31  |  6KB  |  163 lines

  1. Fixes and Features for release 5.0 version 37.5 -
  2.  
  3. * IMPORTANT FOR AREXX USERS *
  4.  
  5. The ARexx port for MachV has been renamed. It is now MACHV_REXX. The
  6. port MACHV is still there, it just will not accept ARexx commands.
  7. It shouldn't be difficult to edit your ARexx programs using splat, sed
  8. or even edit. With edit you can enter:
  9.  
  10. edit rexx:program
  11. ge /MACHV/MACHV_REXX/
  12. w
  13.  
  14. (This was done in order to implement a complete ARexx interface.)
  15. =======================================================================
  16. 11-13-93  
  17.  
  18.   Added 3rd argument to PutMsg_ARexx. If supplied, the message to
  19.   the ARexx port will request a result and use that argument as the
  20.   name of an environment variable to store it. e.g.
  21.  
  22.   PutMsg_ARexx"EMACS1,(file-name-directory default-directory),edir"
  23.  
  24.   This will make gnuemacs return the default directory and MachV will
  25.   store it in the variable edir (local or global, depending on the
  26.   variable setting in "Miscellaneous Features").
  27.  
  28.   The following macro (all one line) will add a file requester to
  29.   gnuemacs:
  30.  
  31.   PutMsg_ARexx"EMACS1,(file-name-directory default-directory),edir"
  32.   exe_cmd"setenv efile `c:requestfile drawer $edir noicons`"
  33.   PutMsg_ARexx"EMACS1,(find-file \"${efile}\")"
  34.  
  35.   This next macro would enable you to replace TurboText's requester 
  36.   with the requester in the asl.library:
  37.  
  38.   putmsg_arexx"TURBOTEXT,GetCurrentDir,tdir" 
  39.   exe_cmd"setenv tfile `c:requestfile drawer ${tdir} pubscreen 
  40.   TURBOTEXT noicons`" 
  41.   putmsg_arexx"TURBOTEXT,OpenDoc NAME ${tfile}"
  42.  
  43. =======================================================================
  44. 11-17-93  
  45.  
  46.   Some work done on the clipboard viewer. Smaller, more reliable.
  47.  
  48. =======================================================================
  49. 11-19-93  
  50.  
  51.   Fixed Window Cycling somewhat. The right button down is now converted
  52.   to a left button up. This helps some programs that really expect
  53.   (demand) the left button up to come sometime. It also speeds up
  54.   Workbench window cycling.
  55.  
  56. =======================================================================
  57. 11-27-93
  58.  
  59.   In order to prevent the accidental running of SetMachV from the
  60.   clock, you must first click the left button on the clock then press
  61.   the right button. This was done because the clock sometimes becomes
  62.   the active window after another window closes. Then when trying to
  63.   access a menu, SetMachV gets run. If the clock gets moved when you
  64.   click on it, it will return to its proper position.
  65.  
  66.  
  67.   Exe_Cmd"program,screen" was broken. The screen would be brought to
  68.   the front, but the program would also run.
  69.  
  70. =======================================================================
  71. 11-28-93  
  72.  
  73.   2 new functions: exe_arexx_command and exe_arexx_string. (These
  74.   were going to wait for 5.1, but, ah well...they seem to work fine
  75.   and are really useful.)
  76.  
  77. 1. exe_arexx_command"filename,env_var_for_result" 
  78.  
  79.   This function eliminates the need for "rx" or "run rx" and also
  80.   allows scripts with just MachV macros without "address MACHV".
  81.   (Actually, the port in all ARexx scripts must be renamed to 
  82.   MACHV_REXX.)
  83.  
  84.   The default filename extension is .mach.
  85.  
  86.   If your ARexx program or script ends with a "return value", that will
  87.   be set to the environment variable that is specified as the 2nd
  88.   argument. If you had this program named rexx:test.mach -
  89.  
  90.   ---------------------------------------------------------------------
  91.   /* Return an answer to MachV which will set an env variable. */
  92.  
  93.     parse arg arg1
  94.  
  95.     a=2
  96.     return a*arg1
  97.   ---------------------------------------------------------------------
  98.  
  99.   and you executed this macro:
  100.  
  101.     exe_arexx_command"test 5,answer"
  102.  
  103.   the env variable "answer" will be set to 10. The passed argument
  104.   could also have been a variable: 
  105.  
  106.     exe_arexx_command"test ${count},answer"
  107.  
  108. 2. exe_arexx_string"tiny_program,env_var_for_result"
  109.  
  110.   This allows you to execute arexx functions directly. A trivial
  111.   example:
  112.  
  113.    arexx_string"return time(hours),results"  
  114.  
  115.   The env variable "results" would get set to hours past midnight.
  116.  
  117.   You could insert text that is self-incrementing with this:
  118.  
  119.     arexx_string"return ${count}+1,count" "${count}"
  120.  
  121.   This has ARexx increment the variable count, and then the results
  122.   are sent as keystrokes.  
  123.  
  124.  
  125. =======================================================================
  126. 12-03-93
  127.  
  128.   Fixed Quick Edit window to open in the center of your display no
  129.   matter where on a virtual screen you are.
  130.  
  131. =======================================================================
  132. 12-13-93
  133.  
  134. Added the gadget "Select Title" in SetMachV. This replaces AllTitles and
  135. AllTasks. It makes it easy to determine the correct title to use.
  136.  
  137. Fixed Mac_Macros and Msc_Suspend to work no matter what key they are on.
  138.  
  139. Versions are now 37.5.
  140. =======================================================================
  141. 12-17-93
  142.  
  143. Fixed broken recursion. Recursive macros would not execute. 
  144.  
  145. Environment variable machv_recursion_depth is used to limit macro
  146. recursion. This defaults to 10, but you may set it to any value. This
  147. variable is either global or local, depending on your setting in the
  148. Miscellaneous Features.
  149.  
  150. =======================================================================
  151. 12-21-93
  152.  
  153. Fixed Clipboard "Print". Would sometimes cause a "ClipViewer Failure".
  154. While I was at it, I added error requesters when clp_paste is trying to
  155. paste an empty or an ILBM clip.
  156.  
  157. =======================================================================
  158. 12-27-93
  159.  
  160. With "KeyActivate" selected and attempting to push the Workbench window
  161. back using mouse "Window Cycle", the system would lock up. This is fixed.
  162. =======================================================================
  163. end